package com.faxsun.pojos.view;

import java.io.Serializable;
import java.util.Date;

/**
 *  用于管理端展示文章列表
 * 
 * @author songdragon
 *
 */
public class PostTable implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5429442906495439168L;
	
	private long id;
	private String title;
	private String type;
	private String author;
	private long author_id;
	private Date created;
	private int featured; // 是否推荐
	private int hearts; // 喜欢
	private int comments;
	private int views; // 阅读
	private int status;
	private String coverUrl;
	private String operation;
	private String statusString;
	private String tags;
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String name) {
		this.title = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public long getAuthor_id() {
		return author_id;
	}
	public void setAuthor_id(long author_id) {
		this.author_id = author_id;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	public int getFeatured() {
		return featured;
	}
	public void setFeatured(int featured) {
		this.featured = featured;
	}
	public int getHearts() {
		return hearts;
	}
	public void setHearts(int hearts) {
		this.hearts = hearts;
	}
	public int getComments() {
		return comments;
	}
	public void setComments(int comments) {
		this.comments = comments;
	}
	public int getViews() {
		return views;
	}
	public void setViews(int views) {
		this.views = views;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getCoverUrl() {
		return coverUrl;
	}
	public void setCoverUrl(String coverUrl) {
		this.coverUrl = coverUrl;
	}
	public String getOperation() {
		return operation;
	}
	public void setOperation(String operation) {
		this.operation = operation;
	}
	public String getStatusString() {
		return statusString;
	}
	public void setStatusString(String statusString) {
		this.statusString = statusString;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tag) {
		this.tags = tag;
	}
	
}
